<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>index页面</title>
</head>

<body>
<h1 th:text="${username}"></h1>
<ul>
    <li shiro:hasPermission="user:add"><a href="/user/add">增加</a></li>
    <li shiro:hasPermission="user:update"><a href="/user/update">修改</a></li>
    <li shiro:hasPermission="user:delete"><a href="/user/delete">删除</a></li>
    <li shiro:hasPermission="user:query"><a href="/user/query">查询</a></li>
</ul>

<a href="/logout">点我注销</a>
</body>
</html>
